/**
 * @Auto generation code
 * Airbnb Controller
 */
import request from '../common/request/request.js'

/**
 * 
 * path, params, body, loading
 * 取消订单 - POST
 */
export const cancelOrder = async (loading) => {
	return await request.post('/airbnb-api/cancelOrder', {
		
	}, {
		
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * 创建订单 - POST
 */
export const createOrder = async (loading) => {
	return await request.post('/airbnb-api/createOrder', {
		
	}, {
		
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * 订单支付 - POST
 */
export const orderPaid = async (loading) => {
	return await request.post('/airbnb-api/orderPaid', {
		
	}, {
		
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * 获取可用时间列表 - POST
 */
export const queryAvailableTimeslots = async (loading) => {
	return await request.post('/airbnb-api/queryAvailableTimeslots', {
		
	}, {
		
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * 根据经纬度判断是否可提供服务 - POST
 */
export const serviceAvailable = async (loading) => {
	return await request.post('/airbnb-api/serviceAvailable', {
		
	}, {
		
	}, loading)
}

